package com.promote.httpUtil;

import io.github.admin4j.http.core.Pair;
import io.github.admin4j.http.util.HttpUtil;
import okhttp3.Response;

/**
 * @ClassName HttpUtil
 * Description OKHttpUtil的使用案例
 * @Author LiZiHao
 * Date 2022/12/1 14:24
 * @Version 1.0
 **/
public class HttpUtilTest {

    public static void main(String[] args) {
        Response response = HttpUtil.get("https://github.com/search", Pair.of("q", "okhttp"));
        System.out.println("response = " + response);
    }

}
